package com.team.weigou.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 妳我终年不遇 on 2015/7/6.
 */
public class CashBack implements Serializable {

    private String msg;
    private int code;
    private List<DataEntity> data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public class DataEntity {
        /**
         * product : {"country":null,"origin":0,"orderNum":1,"recommend":0,"cityId":202,"price":35,"enable":1,"footTypeId":1734725,"id":3324833,"attribute":0,"shopId":854185,"value":55,"createDate":"2015-07-04 00:20:59","footTypeName":"DIY手机壳","image":"http://img.weidiancdn.com/img/A/YMXXXX10990566-132555_YM0000.png","imageInfor":"0,0,0,0,0,0,0,0","images":"0,0,0,0,0,0,0,0","imageId":"http://img.weidiancdn.com/img/A/YMXXXX10990566-132555_YM0000.png","countNum":1000,"modifyDate":"2015-07-04 00:20:59","introduce":"个人写真、婚纱照，宝宝写真生活照私人定制手机壳，包邮申通","isDelete":0,"categoryPath":"","saleCount":0,"count":1000,"collectCount":null,"iswdgwShow":1,"postFree":1,"evaluationCount":null,"grade":1,"name":"DIY手机壳","categoryId":0}
         * productId : 3324833
         * endDate : 2015-07-15
         * isDelete : 0
         * orderNum : 10
         * remark : null
         * backMoney : 3
         * promotionId : 1
         * isCheck : 1
         * createdDate : 2015-07-04
         * id : 9893
         * shopId : 854185
         * startDate : 2015-07-04
         * promotion : {"enable":1,"name":"返现促销","remark":"每个商品设置返现的金额，在购买后现金返回","id":1}
         */
        private ProductEntity product;
        private int productId;
        private String endDate;
        private int isDelete;
        private int orderNum;
        private String remark;
        private int backMoney;
        private int promotionId;
        private int isCheck;
        private String createdDate;
        private int id;
        private int shopId;
        private String startDate;
        private PromotionEntity promotion;

        public void setProduct(ProductEntity product) {
            this.product = product;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }

        public void setIsDelete(int isDelete) {
            this.isDelete = isDelete;
        }

        public void setOrderNum(int orderNum) {
            this.orderNum = orderNum;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public void setBackMoney(int backMoney) {
            this.backMoney = backMoney;
        }

        public void setPromotionId(int promotionId) {
            this.promotionId = promotionId;
        }

        public void setIsCheck(int isCheck) {
            this.isCheck = isCheck;
        }

        public void setCreatedDate(String createdDate) {
            this.createdDate = createdDate;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setShopId(int shopId) {
            this.shopId = shopId;
        }

        public void setStartDate(String startDate) {
            this.startDate = startDate;
        }

        public void setPromotion(PromotionEntity promotion) {
            this.promotion = promotion;
        }

        public ProductEntity getProduct() {
            return product;
        }

        public int getProductId() {
            return productId;
        }

        public String getEndDate() {
            return endDate;
        }

        public int getIsDelete() {
            return isDelete;
        }

        public int getOrderNum() {
            return orderNum;
        }

        public String getRemark() {
            return remark;
        }

        public int getBackMoney() {
            return backMoney;
        }

        public int getPromotionId() {
            return promotionId;
        }

        public int getIsCheck() {
            return isCheck;
        }

        public String getCreatedDate() {
            return createdDate;
        }

        public int getId() {
            return id;
        }

        public int getShopId() {
            return shopId;
        }

        public String getStartDate() {
            return startDate;
        }

        public PromotionEntity getPromotion() {
            return promotion;
        }

        public class ProductEntity {
            /**
             * country : null
             * origin : 0
             * orderNum : 1
             * recommend : 0
             * cityId : 202
             * price : 35
             * enable : 1
             * footTypeId : 1734725
             * id : 3324833
             * attribute : 0
             * shopId : 854185
             * value : 55
             * createDate : 2015-07-04 00:20:59
             * footTypeName : DIY手机壳
             * image : http://img.weidiancdn.com/img/A/YMXXXX10990566-132555_YM0000.png
             * imageInfor : 0,0,0,0,0,0,0,0
             * images : 0,0,0,0,0,0,0,0
             * imageId : http://img.weidiancdn.com/img/A/YMXXXX10990566-132555_YM0000.png
             * countNum : 1000
             * modifyDate : 2015-07-04 00:20:59
             * introduce : 个人写真、婚纱照，宝宝写真生活照私人定制手机壳，包邮申通
             * isDelete : 0
             * categoryPath :
             * saleCount : 0
             * count : 1000
             * collectCount : null
             * iswdgwShow : 1
             * postFree : 1
             * evaluationCount : null
             * grade : 1
             * name : DIY手机壳
             * categoryId : 0
             */
            private String country;
            private int origin;
            private int orderNum;
            private int recommend;
            private int cityId;
            private int price;
            private int enable;
            private int footTypeId;
            private int id;
            private int attribute;
            private int shopId;
            private int value;
            private String createDate;
            private String footTypeName;
            private String image;
            private String imageInfor;
            private String images;
            private String imageId;
            private int countNum;
            private String modifyDate;
            private String introduce;
            private int isDelete;
            private String categoryPath;
            private int saleCount;
            private int count;
            private String collectCount;
            private int iswdgwShow;
            private int postFree;
            private String evaluationCount;
            private int grade;
            private String name;
            private int categoryId;

            public void setCountry(String country) {
                this.country = country;
            }

            public void setOrigin(int origin) {
                this.origin = origin;
            }

            public void setOrderNum(int orderNum) {
                this.orderNum = orderNum;
            }

            public void setRecommend(int recommend) {
                this.recommend = recommend;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public void setEnable(int enable) {
                this.enable = enable;
            }

            public void setFootTypeId(int footTypeId) {
                this.footTypeId = footTypeId;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setAttribute(int attribute) {
                this.attribute = attribute;
            }

            public void setShopId(int shopId) {
                this.shopId = shopId;
            }

            public void setValue(int value) {
                this.value = value;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public void setFootTypeName(String footTypeName) {
                this.footTypeName = footTypeName;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public void setImageInfor(String imageInfor) {
                this.imageInfor = imageInfor;
            }

            public void setImages(String images) {
                this.images = images;
            }

            public void setImageId(String imageId) {
                this.imageId = imageId;
            }

            public void setCountNum(int countNum) {
                this.countNum = countNum;
            }

            public void setModifyDate(String modifyDate) {
                this.modifyDate = modifyDate;
            }

            public void setIntroduce(String introduce) {
                this.introduce = introduce;
            }

            public void setIsDelete(int isDelete) {
                this.isDelete = isDelete;
            }

            public void setCategoryPath(String categoryPath) {
                this.categoryPath = categoryPath;
            }

            public void setSaleCount(int saleCount) {
                this.saleCount = saleCount;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public void setCollectCount(String collectCount) {
                this.collectCount = collectCount;
            }

            public void setIswdgwShow(int iswdgwShow) {
                this.iswdgwShow = iswdgwShow;
            }

            public void setPostFree(int postFree) {
                this.postFree = postFree;
            }

            public void setEvaluationCount(String evaluationCount) {
                this.evaluationCount = evaluationCount;
            }

            public void setGrade(int grade) {
                this.grade = grade;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setCategoryId(int categoryId) {
                this.categoryId = categoryId;
            }

            public String getCountry() {
                return country;
            }

            public int getOrigin() {
                return origin;
            }

            public int getOrderNum() {
                return orderNum;
            }

            public int getRecommend() {
                return recommend;
            }

            public int getCityId() {
                return cityId;
            }

            public int getPrice() {
                return price;
            }

            public int getEnable() {
                return enable;
            }

            public int getFootTypeId() {
                return footTypeId;
            }

            public int getId() {
                return id;
            }

            public int getAttribute() {
                return attribute;
            }

            public int getShopId() {
                return shopId;
            }

            public int getValue() {
                return value;
            }

            public String getCreateDate() {
                return createDate;
            }

            public String getFootTypeName() {
                return footTypeName;
            }

            public String getImage() {
                return image;
            }

            public String getImageInfor() {
                return imageInfor;
            }

            public String getImages() {
                return images;
            }

            public String getImageId() {
                return imageId;
            }

            public int getCountNum() {
                return countNum;
            }

            public String getModifyDate() {
                return modifyDate;
            }

            public String getIntroduce() {
                return introduce;
            }

            public int getIsDelete() {
                return isDelete;
            }

            public String getCategoryPath() {
                return categoryPath;
            }

            public int getSaleCount() {
                return saleCount;
            }

            public int getCount() {
                return count;
            }

            public String getCollectCount() {
                return collectCount;
            }

            public int getIswdgwShow() {
                return iswdgwShow;
            }

            public int getPostFree() {
                return postFree;
            }

            public String getEvaluationCount() {
                return evaluationCount;
            }

            public int getGrade() {
                return grade;
            }

            public String getName() {
                return name;
            }

            public int getCategoryId() {
                return categoryId;
            }
        }

        public class PromotionEntity {
            /**
             * enable : 1
             * name : 返现促销
             * remark : 每个商品设置返现的金额，在购买后现金返回
             * id : 1
             */
            private int enable;
            private String name;
            private String remark;
            private int id;

            public void setEnable(int enable) {
                this.enable = enable;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getEnable() {
                return enable;
            }

            public String getName() {
                return name;
            }

            public String getRemark() {
                return remark;
            }

            public int getId() {
                return id;
            }
        }
    }
}
